Skip to content

Set the window class to disktree - #5

Merged
tobi merged 1 commit into
tobi:mainfrom
imbriaco:window-class
Sep 25, 2026
Merged

tobi merged 1 commit into
tobi:mainfrom
imbriaco:window-class

Conversation

@imbriaco

Copy link
Copy Markdown
Contributor

The Hyprland section tells people to match class:^(disktree)$, and the desktop entry already sets StartupWMClass=disktree. The window never set a Wayland app id, so Hyprland reports an empty class and that rule does not match.

WindowOptions.app_id is now disktree, which is the value Hyprland uses as the window class. Checked with hyprctl clients: class and initialClass are both disktree.

The desktop entry and the Hyprland rule already name this class. The
window never set a Wayland app id, so the class was empty and the rule
did not match.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants